<template>
  <div class="page">
    <van-cell-group>
      <van-cell @tap="goToPage" data-page="form-demo" title="查看 form demo" is-link />
      <van-cell @tap="goToPage" data-page="tab-list" title="查看 tab list" is-link />
      <van-cell @tap="goToPage" data-page="dialog" title="查看 dialog" is-link />
      <van-cell @tap="goToPage" data-page="base" title="查看 base" is-link />
      <van-cell @tap="goToPage" data-page="text" title="查看 text" is-link />
    </van-cell-group>
  </div>
</template>

<script>
  export default {
    handles: {
      goToPage(e, dataset) {
        this.$routePage(dataset.page)
      }
    }
  }
</script>

<style lang="less">
  @import "../../app.component.less";
</style>
